package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 学科管理对象 biz_subject
 * 
 * @author ruoyi
 * @date 2021-08-07
 */
public class BizSubject extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学科名称 */
    @Excel(name = "学科名称")
    private String subjectName;

    /** 名称首字母 */
    @Excel(name = "名称首字母")
    private String initialLetter;

    /** 名称全拼音 */
    @Excel(name = "名称全拼音")
    private String fullLetter;

    /** 菜单状态（0显示 1隐藏） */
    @Excel(name = "菜单状态", readConverterExp = "0=显示,1=隐藏")
    private String visible;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setInitialLetter(String initialLetter) 
    {
        this.initialLetter = initialLetter;
    }

    public String getInitialLetter() 
    {
        return initialLetter;
    }
    public void setFullLetter(String fullLetter) 
    {
        this.fullLetter = fullLetter;
    }

    public String getFullLetter() 
    {
        return fullLetter;
    }
    public void setVisible(String visible) 
    {
        this.visible = visible;
    }

    public String getVisible() 
    {
        return visible;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectName", getSubjectName())
            .append("initialLetter", getInitialLetter())
            .append("fullLetter", getFullLetter())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("orderNum", getOrderNum())
            .append("visible", getVisible())
            .append("icon", getIcon())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
